import request from '../request';

/**
 * 获取仪表盘统计数据
 * @returns {Promise}
 */
export const getDashboardStatistics = () => {
  return request({
    url: '/statistics',
    method: 'get'
  });
};

/**
 * 获取近期婚礼活动
 * @returns {Promise}
 */
export const getRecentEvents = () => {
  return request({
    url: '/events/recent',
    method: 'get'
  });
};